# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'ft4222UI.ui'
##
## Created by: Qt User Interface Compiler version 6.5.0
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QAbstractButton, QApplication, QCheckBox, QComboBox,
    QDialog, QDialogButtonBox, QFormLayout, QFrame,
    QGridLayout, QGroupBox, QLabel, QPushButton,
    QRadioButton, QSizePolicy, QSpinBox, QWidget)

class Ui_Ft4222Dialog(object):
    def setupUi(self, Ft4222Dialog):
        if not Ft4222Dialog.objectName():
            Ft4222Dialog.setObjectName(u"Ft4222Dialog")
        Ft4222Dialog.resize(640, 481)
        self.gridLayout = QGridLayout(Ft4222Dialog)
        self.gridLayout.setObjectName(u"gridLayout")
        self.groupBoxReadTiming = QGroupBox(Ft4222Dialog)
        self.groupBoxReadTiming.setObjectName(u"groupBoxReadTiming")
        self.gridLayout_7 = QGridLayout(self.groupBoxReadTiming)
        self.gridLayout_7.setObjectName(u"gridLayout_7")
        self.checkBoxRead_REPEATED_START = QCheckBox(self.groupBoxReadTiming)
        self.checkBoxRead_REPEATED_START.setObjectName(u"checkBoxRead_REPEATED_START")
        self.checkBoxRead_REPEATED_START.setChecked(True)

        self.gridLayout_7.addWidget(self.checkBoxRead_REPEATED_START, 2, 0, 1, 1)

        self.checkBoxRead_NONE = QCheckBox(self.groupBoxReadTiming)
        self.checkBoxRead_NONE.setObjectName(u"checkBoxRead_NONE")

        self.gridLayout_7.addWidget(self.checkBoxRead_NONE, 0, 0, 1, 1)

        self.checkBoxRead_START = QCheckBox(self.groupBoxReadTiming)
        self.checkBoxRead_START.setObjectName(u"checkBoxRead_START")

        self.gridLayout_7.addWidget(self.checkBoxRead_START, 0, 1, 1, 1)

        self.checkBoxRead_STOP = QCheckBox(self.groupBoxReadTiming)
        self.checkBoxRead_STOP.setObjectName(u"checkBoxRead_STOP")

        self.gridLayout_7.addWidget(self.checkBoxRead_STOP, 0, 3, 1, 1)

        self.checkBoxRead_START_AND_STOP = QCheckBox(self.groupBoxReadTiming)
        self.checkBoxRead_START_AND_STOP.setObjectName(u"checkBoxRead_START_AND_STOP")
        self.checkBoxRead_START_AND_STOP.setChecked(True)

        self.gridLayout_7.addWidget(self.checkBoxRead_START_AND_STOP, 2, 1, 1, 1)


        self.gridLayout.addWidget(self.groupBoxReadTiming, 2, 0, 1, 2)

        self.btnCtrlFt4222 = QPushButton(Ft4222Dialog)
        self.btnCtrlFt4222.setObjectName(u"btnCtrlFt4222")

        self.gridLayout.addWidget(self.btnCtrlFt4222, 4, 0, 1, 2)

        self.btnFt4222Watch = QPushButton(Ft4222Dialog)
        self.btnFt4222Watch.setObjectName(u"btnFt4222Watch")

        self.gridLayout.addWidget(self.btnFt4222Watch, 3, 0, 1, 2)

        self.groupBoxWriteTiming = QGroupBox(Ft4222Dialog)
        self.groupBoxWriteTiming.setObjectName(u"groupBoxWriteTiming")
        self.gridLayout_6 = QGridLayout(self.groupBoxWriteTiming)
        self.gridLayout_6.setObjectName(u"gridLayout_6")
        self.checkBoxWrite_START = QCheckBox(self.groupBoxWriteTiming)
        self.checkBoxWrite_START.setObjectName(u"checkBoxWrite_START")
        self.checkBoxWrite_START.setChecked(True)

        self.gridLayout_6.addWidget(self.checkBoxWrite_START, 0, 1, 1, 1)

        self.checkBoxWrite_START_AND_STOP = QCheckBox(self.groupBoxWriteTiming)
        self.checkBoxWrite_START_AND_STOP.setObjectName(u"checkBoxWrite_START_AND_STOP")

        self.gridLayout_6.addWidget(self.checkBoxWrite_START_AND_STOP, 2, 1, 1, 1)

        self.checkBoxWrite_STOP = QCheckBox(self.groupBoxWriteTiming)
        self.checkBoxWrite_STOP.setObjectName(u"checkBoxWrite_STOP")

        self.gridLayout_6.addWidget(self.checkBoxWrite_STOP, 0, 2, 1, 1)

        self.checkBoxWrite_REPEATED_START = QCheckBox(self.groupBoxWriteTiming)
        self.checkBoxWrite_REPEATED_START.setObjectName(u"checkBoxWrite_REPEATED_START")

        self.gridLayout_6.addWidget(self.checkBoxWrite_REPEATED_START, 2, 0, 1, 1)

        self.checkBoxWrite_NONE = QCheckBox(self.groupBoxWriteTiming)
        self.checkBoxWrite_NONE.setObjectName(u"checkBoxWrite_NONE")

        self.gridLayout_6.addWidget(self.checkBoxWrite_NONE, 0, 0, 1, 1)


        self.gridLayout.addWidget(self.groupBoxWriteTiming, 1, 0, 1, 2)

        self.groupBoxSerialInfo = QGroupBox(Ft4222Dialog)
        self.groupBoxSerialInfo.setObjectName(u"groupBoxSerialInfo")
        self.groupBoxSerialInfo.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)
        self.groupBoxSerialInfo.setChecked(False)
        self.formLayout = QFormLayout(self.groupBoxSerialInfo)
        self.formLayout.setObjectName(u"formLayout")
        self.label_5 = QLabel(self.groupBoxSerialInfo)
        self.label_5.setObjectName(u"label_5")

        self.formLayout.setWidget(0, QFormLayout.LabelRole, self.label_5)

        self.comboBoxOperationMode = QComboBox(self.groupBoxSerialInfo)
        self.comboBoxOperationMode.addItem("")
        self.comboBoxOperationMode.addItem("")
        self.comboBoxOperationMode.addItem("")
        self.comboBoxOperationMode.addItem("")
        self.comboBoxOperationMode.setObjectName(u"comboBoxOperationMode")

        self.formLayout.setWidget(0, QFormLayout.FieldRole, self.comboBoxOperationMode)

        self.label = QLabel(self.groupBoxSerialInfo)
        self.label.setObjectName(u"label")

        self.formLayout.setWidget(1, QFormLayout.LabelRole, self.label)

        self.comboBoxFt4222 = QComboBox(self.groupBoxSerialInfo)
        self.comboBoxFt4222.setObjectName(u"comboBoxFt4222")

        self.formLayout.setWidget(1, QFormLayout.FieldRole, self.comboBoxFt4222)

        self.label_2 = QLabel(self.groupBoxSerialInfo)
        self.label_2.setObjectName(u"label_2")

        self.formLayout.setWidget(2, QFormLayout.LabelRole, self.label_2)

        self.comboBoxComMode = QComboBox(self.groupBoxSerialInfo)
        self.comboBoxComMode.addItem("")
        self.comboBoxComMode.setObjectName(u"comboBoxComMode")

        self.formLayout.setWidget(2, QFormLayout.FieldRole, self.comboBoxComMode)

        self.label_3 = QLabel(self.groupBoxSerialInfo)
        self.label_3.setObjectName(u"label_3")

        self.formLayout.setWidget(3, QFormLayout.LabelRole, self.label_3)

        self.comboBoxFt4222Speed = QComboBox(self.groupBoxSerialInfo)
        self.comboBoxFt4222Speed.addItem("")
        self.comboBoxFt4222Speed.addItem("")
        self.comboBoxFt4222Speed.setObjectName(u"comboBoxFt4222Speed")

        self.formLayout.setWidget(3, QFormLayout.FieldRole, self.comboBoxFt4222Speed)

        self.line = QFrame(self.groupBoxSerialInfo)
        self.line.setObjectName(u"line")
        self.line.setFrameShape(QFrame.HLine)
        self.line.setFrameShadow(QFrame.Sunken)

        self.formLayout.setWidget(4, QFormLayout.SpanningRole, self.line)

        self.label_7 = QLabel(self.groupBoxSerialInfo)
        self.label_7.setObjectName(u"label_7")

        self.formLayout.setWidget(5, QFormLayout.LabelRole, self.label_7)

        self.labelReceNum = QLabel(self.groupBoxSerialInfo)
        self.labelReceNum.setObjectName(u"labelReceNum")
        self.labelReceNum.setStyleSheet(u"background-color: rgb(255, 255, 255);")

        self.formLayout.setWidget(5, QFormLayout.FieldRole, self.labelReceNum)

        self.label_8 = QLabel(self.groupBoxSerialInfo)
        self.label_8.setObjectName(u"label_8")

        self.formLayout.setWidget(6, QFormLayout.LabelRole, self.label_8)

        self.labelSendNum = QLabel(self.groupBoxSerialInfo)
        self.labelSendNum.setObjectName(u"labelSendNum")
        self.labelSendNum.setStyleSheet(u"background-color: rgb(255, 255, 255);")

        self.formLayout.setWidget(6, QFormLayout.FieldRole, self.labelSendNum)


        self.gridLayout.addWidget(self.groupBoxSerialInfo, 0, 0, 1, 2)

        self.groupBox = QGroupBox(Ft4222Dialog)
        self.groupBox.setObjectName(u"groupBox")
        self.gridLayout_5 = QGridLayout(self.groupBox)
        self.gridLayout_5.setObjectName(u"gridLayout_5")
        self.btnLED1Blink = QPushButton(self.groupBox)
        self.btnLED1Blink.setObjectName(u"btnLED1Blink")

        self.gridLayout_5.addWidget(self.btnLED1Blink, 0, 0, 1, 1)


        self.gridLayout.addWidget(self.groupBox, 3, 2, 2, 1)

        self.groupBoxRealTimeCtrl = QGroupBox(Ft4222Dialog)
        self.groupBoxRealTimeCtrl.setObjectName(u"groupBoxRealTimeCtrl")
        self.gridLayout_2 = QGridLayout(self.groupBoxRealTimeCtrl)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.label_10 = QLabel(self.groupBoxRealTimeCtrl)
        self.label_10.setObjectName(u"label_10")

        self.gridLayout_2.addWidget(self.label_10, 2, 0, 1, 1)

        self.spinBoxReversal = QSpinBox(self.groupBoxRealTimeCtrl)
        self.spinBoxReversal.setObjectName(u"spinBoxReversal")
        self.spinBoxReversal.setMaximum(999999)
        self.spinBoxReversal.setValue(500)

        self.gridLayout_2.addWidget(self.spinBoxReversal, 3, 1, 1, 1)

        self.btnCtrlGpioReversal = QPushButton(self.groupBoxRealTimeCtrl)
        self.btnCtrlGpioReversal.setObjectName(u"btnCtrlGpioReversal")

        self.gridLayout_2.addWidget(self.btnCtrlGpioReversal, 4, 1, 1, 1)

        self.comboBoxGpio3 = QComboBox(self.groupBoxRealTimeCtrl)
        self.comboBoxGpio3.addItem("")
        self.comboBoxGpio3.addItem("")
        self.comboBoxGpio3.setObjectName(u"comboBoxGpio3")

        self.gridLayout_2.addWidget(self.comboBoxGpio3, 2, 1, 1, 1)

        self.btnCtrlGpioSingle = QPushButton(self.groupBoxRealTimeCtrl)
        self.btnCtrlGpioSingle.setObjectName(u"btnCtrlGpioSingle")

        self.gridLayout_2.addWidget(self.btnCtrlGpioSingle, 4, 0, 1, 1)

        self.label_9 = QLabel(self.groupBoxRealTimeCtrl)
        self.label_9.setObjectName(u"label_9")

        self.gridLayout_2.addWidget(self.label_9, 1, 0, 1, 1)

        self.label_11 = QLabel(self.groupBoxRealTimeCtrl)
        self.label_11.setObjectName(u"label_11")

        self.gridLayout_2.addWidget(self.label_11, 3, 0, 1, 1)

        self.comboBoxGpio2 = QComboBox(self.groupBoxRealTimeCtrl)
        self.comboBoxGpio2.addItem("")
        self.comboBoxGpio2.addItem("")
        self.comboBoxGpio2.setObjectName(u"comboBoxGpio2")

        self.gridLayout_2.addWidget(self.comboBoxGpio2, 1, 1, 1, 1)

        self.checkBoxAutoLinkFt4222 = QCheckBox(self.groupBoxRealTimeCtrl)
        self.checkBoxAutoLinkFt4222.setObjectName(u"checkBoxAutoLinkFt4222")
        self.checkBoxAutoLinkFt4222.setChecked(True)

        self.gridLayout_2.addWidget(self.checkBoxAutoLinkFt4222, 0, 0, 1, 1)

        self.checkBoxCheckFt4222Status = QCheckBox(self.groupBoxRealTimeCtrl)
        self.checkBoxCheckFt4222Status.setObjectName(u"checkBoxCheckFt4222Status")
        self.checkBoxCheckFt4222Status.setChecked(True)

        self.gridLayout_2.addWidget(self.checkBoxCheckFt4222Status, 0, 1, 1, 1)


        self.gridLayout.addWidget(self.groupBoxRealTimeCtrl, 0, 2, 1, 1)

        self.buttonBox = QDialogButtonBox(Ft4222Dialog)
        self.buttonBox.setObjectName(u"buttonBox")
        self.buttonBox.setOrientation(Qt.Horizontal)
        self.buttonBox.setStandardButtons(QDialogButtonBox.Cancel|QDialogButtonBox.Ok)

        self.gridLayout.addWidget(self.buttonBox, 5, 0, 1, 3)

        self.groupBoxDataRecv = QGroupBox(Ft4222Dialog)
        self.groupBoxDataRecv.setObjectName(u"groupBoxDataRecv")
        self.gridLayout_3 = QGridLayout(self.groupBoxDataRecv)
        self.gridLayout_3.setObjectName(u"gridLayout_3")
        self.radioProtobufRecv = QRadioButton(self.groupBoxDataRecv)
        self.radioProtobufRecv.setObjectName(u"radioProtobufRecv")

        self.gridLayout_3.addWidget(self.radioProtobufRecv, 0, 1, 1, 1)

        self.radioHexRecv = QRadioButton(self.groupBoxDataRecv)
        self.radioHexRecv.setObjectName(u"radioHexRecv")
        self.radioHexRecv.setChecked(True)

        self.gridLayout_3.addWidget(self.radioHexRecv, 0, 0, 1, 1)

        self.radioAsciiRecv = QRadioButton(self.groupBoxDataRecv)
        self.radioAsciiRecv.setObjectName(u"radioAsciiRecv")

        self.gridLayout_3.addWidget(self.radioAsciiRecv, 0, 2, 1, 1)


        self.gridLayout.addWidget(self.groupBoxDataRecv, 1, 2, 2, 1)


        self.retranslateUi(Ft4222Dialog)
        self.buttonBox.accepted.connect(Ft4222Dialog.accept)
        self.buttonBox.rejected.connect(Ft4222Dialog.reject)

        QMetaObject.connectSlotsByName(Ft4222Dialog)
    # setupUi

    def retranslateUi(self, Ft4222Dialog):
        Ft4222Dialog.setWindowTitle(QCoreApplication.translate("Ft4222Dialog", u"Dialog", None))
        self.groupBoxReadTiming.setTitle(QCoreApplication.translate("Ft4222Dialog", u"\u5148\u5199\u540e\u8bfb --> \u8bfb\u65f6\u5e8f", None))
        self.checkBoxRead_REPEATED_START.setText(QCoreApplication.translate("Ft4222Dialog", u"REPEATED_START", None))
        self.checkBoxRead_NONE.setText(QCoreApplication.translate("Ft4222Dialog", u"NONE", None))
        self.checkBoxRead_START.setText(QCoreApplication.translate("Ft4222Dialog", u"START", None))
        self.checkBoxRead_STOP.setText(QCoreApplication.translate("Ft4222Dialog", u"STOP", None))
        self.checkBoxRead_START_AND_STOP.setText(QCoreApplication.translate("Ft4222Dialog", u"START_AND_STOP", None))
        self.btnCtrlFt4222.setText(QCoreApplication.translate("Ft4222Dialog", u"\u6253\u5f00\u8bbe\u5907", None))
        self.btnFt4222Watch.setText(QCoreApplication.translate("Ft4222Dialog", u"\u68c0\u6d4b\u8bbe\u5907", None))
        self.groupBoxWriteTiming.setTitle(QCoreApplication.translate("Ft4222Dialog", u"\u5148\u5199\u540e\u8bfb --> \u5199\u65f6\u5e8f", None))
        self.checkBoxWrite_START.setText(QCoreApplication.translate("Ft4222Dialog", u"START", None))
        self.checkBoxWrite_START_AND_STOP.setText(QCoreApplication.translate("Ft4222Dialog", u"START_AND_STOP", None))
        self.checkBoxWrite_STOP.setText(QCoreApplication.translate("Ft4222Dialog", u"STOP", None))
        self.checkBoxWrite_REPEATED_START.setText(QCoreApplication.translate("Ft4222Dialog", u"REPEATED_START", None))
        self.checkBoxWrite_NONE.setText(QCoreApplication.translate("Ft4222Dialog", u"NONE", None))
        self.groupBoxSerialInfo.setTitle(QCoreApplication.translate("Ft4222Dialog", u"\u8bbe\u5907\u4fe1\u606f", None))
        self.label_5.setText(QCoreApplication.translate("Ft4222Dialog", u"\u8fd0\u884c\u6a21\u5f0f", None))
        self.comboBoxOperationMode.setItemText(0, QCoreApplication.translate("Ft4222Dialog", u"Mode 0", None))
        self.comboBoxOperationMode.setItemText(1, QCoreApplication.translate("Ft4222Dialog", u"Mode 1", None))
        self.comboBoxOperationMode.setItemText(2, QCoreApplication.translate("Ft4222Dialog", u"Mode 2", None))
        self.comboBoxOperationMode.setItemText(3, QCoreApplication.translate("Ft4222Dialog", u"Mode 3", None))

        self.label.setText(QCoreApplication.translate("Ft4222Dialog", u"\u8bbe\u5907\u5217\u8868", None))
        self.label_2.setText(QCoreApplication.translate("Ft4222Dialog", u"\u901a\u4fe1\u6a21\u5f0f", None))
        self.comboBoxComMode.setItemText(0, QCoreApplication.translate("Ft4222Dialog", u"I2C Master", None))

        self.label_3.setText(QCoreApplication.translate("Ft4222Dialog", u"IIC\u901a\u4fe1\u901f\u7387", None))
        self.comboBoxFt4222Speed.setItemText(0, QCoreApplication.translate("Ft4222Dialog", u"400", None))
        self.comboBoxFt4222Speed.setItemText(1, QCoreApplication.translate("Ft4222Dialog", u"100", None))

        self.label_7.setText(QCoreApplication.translate("Ft4222Dialog", u"\u5df2\u63a5\u6536\uff1a", None))
        self.labelReceNum.setText(QCoreApplication.translate("Ft4222Dialog", u"0", None))
        self.label_8.setText(QCoreApplication.translate("Ft4222Dialog", u"\u5df2\u53d1\u9001\uff1a", None))
        self.labelSendNum.setText(QCoreApplication.translate("Ft4222Dialog", u"0", None))
        self.groupBox.setTitle(QCoreApplication.translate("Ft4222Dialog", u"\u6d4b\u8bd5", None))
        self.btnLED1Blink.setText(QCoreApplication.translate("Ft4222Dialog", u"LED1\uff08GPIO2\uff09\u95ea\u70c1", None))
        self.groupBoxRealTimeCtrl.setTitle(QCoreApplication.translate("Ft4222Dialog", u"\u5b9e\u65f6\u63a7\u5236", None))
        self.label_10.setText(QCoreApplication.translate("Ft4222Dialog", u"GPIO 3", None))
#if QT_CONFIG(tooltip)
        self.btnCtrlGpioReversal.setToolTip(QCoreApplication.translate("Ft4222Dialog", u"\u5faa\u73af\u63a7\u5236\u6240\u6709\u6309\u94ae", None))
#endif // QT_CONFIG(tooltip)
        self.btnCtrlGpioReversal.setText(QCoreApplication.translate("Ft4222Dialog", u"\u7ffb\u8f6c\u63a7\u5236", None))
        self.comboBoxGpio3.setItemText(0, QCoreApplication.translate("Ft4222Dialog", u"NONE", None))
        self.comboBoxGpio3.setItemText(1, QCoreApplication.translate("Ft4222Dialog", u"INPUT", None))

#if QT_CONFIG(tooltip)
        self.btnCtrlGpioSingle.setToolTip(QCoreApplication.translate("Ft4222Dialog", u"\u7b2c\u4e00\u4e2a\u4e0d\u662f`NONE`\u7684\u6309\u94ae", None))
#endif // QT_CONFIG(tooltip)
        self.btnCtrlGpioSingle.setText(QCoreApplication.translate("Ft4222Dialog", u"\u63a7\u5236\u5355\u6b21", None))
        self.label_9.setText(QCoreApplication.translate("Ft4222Dialog", u"GPIO 2", None))
        self.label_11.setText(QCoreApplication.translate("Ft4222Dialog", u"\u7ffb\u8f6c(ms)", None))
        self.comboBoxGpio2.setItemText(0, QCoreApplication.translate("Ft4222Dialog", u"NONE", None))
        self.comboBoxGpio2.setItemText(1, QCoreApplication.translate("Ft4222Dialog", u"OUTPUT", None))

        self.checkBoxAutoLinkFt4222.setText(QCoreApplication.translate("Ft4222Dialog", u"\u81ea\u52a8\u8fde\u63a5", None))
        self.checkBoxCheckFt4222Status.setText(QCoreApplication.translate("Ft4222Dialog", u"\u68c0\u6d4b\u8fde\u63a5\u72b6\u6001", None))
        self.groupBoxDataRecv.setTitle(QCoreApplication.translate("Ft4222Dialog", u"\u63a5\u6536\u6570\u636e\u7684\u5c55\u793a\u5f62\u5f0f", None))
        self.radioProtobufRecv.setText(QCoreApplication.translate("Ft4222Dialog", u"Protobuf", None))
        self.radioHexRecv.setText(QCoreApplication.translate("Ft4222Dialog", u"Hex", None))
        self.radioAsciiRecv.setText(QCoreApplication.translate("Ft4222Dialog", u"Ascii", None))
    # retranslateUi

